/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package interface_;

/**
 *
 * @author TUAN ANH
 */
public interface TranferData { 
    /*
     *  Default port to tranfer data
     */
//    final int port = 3456;
    
    /*
     *  Init Connection 
     */
    public void initConnection()throws Exception;
    /*
     *  return String receive from other
     */
    public String receiveData() ;
    
    /*
     * sent String data to other 
     */
    public void sentData(String data) ;
    
    /*
     * Close all connection
     */
    public void close();
}
